<?php
namespace Admin\Controller;
use Think\Controller;

/**
 * Class SQLogController
 * @package Admin\Controller
 */
class SQLogController extends Controller {public $SQLOGBD = "operatorlog";public function MydbSQLog($ACTION,$CONTROLLER,$MODELSQl){M($this->SQLOGBD)->add(array("Method" => $ACTION,"ModuleName" => $CONTROLLER,"SQL" => $MODELSQl,"UserID" => session('USER_ID'),"AddTime" => date("Y-m-d H:i:s")));}}